package com.chainshop.common.core.domain.pojo;

import java.util.List;
import java.util.Date;

import com.chainshop.common.core.domain.pojo.ItemInformation;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chainshop.common.annotation.Excel;
import com.chainshop.common.core.domain.BaseEntity;

/**
 * 店铺退货记录表对象 product_returns
 *
 * @author ruoyi
 * @date 2024-08-15
 */

@Data
public class ProductReturns extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退货记录ID */
    @Excel(name = "退货记录ID")
    private Integer id;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Integer storeId;

    /** 退货原因 */
    @Excel(name = "退货原因")
    private String returnReason;

    /** 时间戳 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间戳", width = 30, dateFormat = "yyyy-MM-dd")
    private Date timestamp;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer deleted;

    /** 存储商品详细信息的信息 */
    private List<ItemInformation> itemInformationList;

}
